<%--
  Created by IntelliJ IDEA.
  User: d11yu
  Date: 2022/4/16
  Time: 14:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login</title>
    <%
    String basePath = request.getScheme() +
            "://" + request.getServerName() +
            ":" + request.getServerPort() +
            request.getContextPath() + "/";
    %>
    <base href="<%=basePath%>">
</head>
<body>
Login <br>
<form action="LoginServlet" method="get" enctype="multipart/form-data">
    <input type="hidden" name="action" value="login">
    用户名：<input type="text" name="username"> <br>
    密码：<input type="password" name="password"><br>
    <input type="submit">
</form>
</body>
</html>
